﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

namespace Fur.Htx.Database.Migrations.Migrations
{
    public partial class Init3 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.UpdateData(
                table: "Sys_User",
                keyColumn: "Id",
                keyValue: 1,
                column: "CreatedTime",
                value: new DateTimeOffset(new DateTime(2021, 9, 9, 11, 15, 19, 528, DateTimeKind.Unspecified).AddTicks(2775), new TimeSpan(0, 8, 0, 0, 0)));

            migrationBuilder.UpdateData(
                table: "Sys_User",
                keyColumn: "Id",
                keyValue: 2,
                column: "CreatedTime",
                value: new DateTimeOffset(new DateTime(2021, 9, 9, 11, 15, 19, 532, DateTimeKind.Unspecified).AddTicks(9058), new TimeSpan(0, 8, 0, 0, 0)));

            migrationBuilder.UpdateData(
                table: "Sys_User",
                keyColumn: "Id",
                keyValue: 3,
                column: "CreatedTime",
                value: new DateTimeOffset(new DateTime(2021, 9, 9, 11, 15, 19, 532, DateTimeKind.Unspecified).AddTicks(9088), new TimeSpan(0, 8, 0, 0, 0)));

            migrationBuilder.InsertData(
                table: "Sys_UserDetail",
                columns: new[] { "Id", "Address", "CreatedTime", "Email", "Phone", "UpdatedTime", "UserId" },
                values: new object[] { 1, "湖北省武汉市东湖高新区", new DateTimeOffset(new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), "281267775@qq.com", "17354300837", null, 1 });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DeleteData(
                table: "Sys_UserDetail",
                keyColumn: "Id",
                keyValue: 1);

            migrationBuilder.UpdateData(
                table: "Sys_User",
                keyColumn: "Id",
                keyValue: 1,
                column: "CreatedTime",
                value: new DateTimeOffset(new DateTime(2021, 9, 9, 11, 4, 40, 123, DateTimeKind.Unspecified).AddTicks(34), new TimeSpan(0, 8, 0, 0, 0)));

            migrationBuilder.UpdateData(
                table: "Sys_User",
                keyColumn: "Id",
                keyValue: 2,
                column: "CreatedTime",
                value: new DateTimeOffset(new DateTime(2021, 9, 9, 11, 4, 40, 128, DateTimeKind.Unspecified).AddTicks(4887), new TimeSpan(0, 8, 0, 0, 0)));

            migrationBuilder.UpdateData(
                table: "Sys_User",
                keyColumn: "Id",
                keyValue: 3,
                column: "CreatedTime",
                value: new DateTimeOffset(new DateTime(2021, 9, 9, 11, 4, 40, 128, DateTimeKind.Unspecified).AddTicks(4948), new TimeSpan(0, 8, 0, 0, 0)));
        }
    }
}
